const axios = require("axios");
function getIP() {
  // 	http://api.shenlongip.com/ip
  const formData = new FormData();
    formData.append('username', 'a123');
    formData.append('password', 'a123');
    axios.post("http://dami.ifzbs.cn:8881/public/userLogin", formData, {
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    }).then(res => {
        console.log(res);
    });
}

getIP();
// http://api.shenlongip.com/ip?key=qn5xyxu9&pattern=txt&count=1&mr=1&protocol=1&sign=acb9a9262226758b12cbfab1dc659d8a